<?php /* Smarty version Smarty-3.1.18, created on 2014-04-26 18:26:23
         compiled from "styles\desktop\templates\neu.htpl" */ ?>
<?php /*%%SmartyHeaderCode:2314353557323574829-09882082%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '546b56c5ef4e5138bb5b14c73f9ec4b1b2c92847' => 
    array (
      0 => 'styles\\desktop\\templates\\neu.htpl',
      1 => 1398529535,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2314353557323574829-09882082',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_5355732359e100_30976341',
  'variables' => 
  array (
    'fehler' => 0,
    'ks_day' => 0,
    'ks_art' => 0,
    'ks_arten' => 0,
    'ks_medis' => 0,
    'medikamente' => 0,
    'ks_grad' => 0,
    'grad' => 0,
    'ks_info' => 0,
    'ks_lastchange' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5355732359e100_30976341')) {function content_5355732359e100_30976341($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\xampp\\htdocs\\ksk\\include\\smarty\\plugins\\modifier.date_format.php';
if (!is_callable('smarty_function_html_checkboxes')) include 'C:\\xampp\\htdocs\\ksk\\include\\smarty\\plugins\\function.html_checkboxes.php';
if (!is_callable('smarty_function_html_radios')) include 'C:\\xampp\\htdocs\\ksk\\include\\smarty\\plugins\\function.html_radios.php';
?><?php if ($_smarty_tpl->tpl_vars['fehler']->value) {?>
<h2>Fehler</h2>
<?php echo $_smarty_tpl->tpl_vars['fehler']->value;?>
 <?php } else { ?>
<h2>Schmerztag</h2>
<form action="?seite=neu" method="post">
	<input type="hidden" name="forumlar" value="datum">
	<p>
		<label id="datum">Datum</label><br> <input id="datum" name="datum" type="text" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ks_day']->value,'%d.%m.%Y');?>
">
	</p>
	<input type="submit">
</form>

<form action="?seite=neu" method="post">
	<input type="hidden" name="forumlar" value="speichern"> <input name="datum" type="hidden" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ks_day']->value,'%d.%m.%Y');?>
">
	<p>
		<label id="art">Kopfschmerzart</label><br> <?php echo smarty_function_html_checkboxes(array('name'=>'art','selected'=>$_smarty_tpl->tpl_vars['ks_art']->value,'options'=>$_smarty_tpl->tpl_vars['ks_arten']->value,'separator'=>'<br />'),$_smarty_tpl);?>

	</p>
	<p>
		<label id="medikament">Medikament</label><br> <?php echo smarty_function_html_checkboxes(array('name'=>'medikament','selected'=>$_smarty_tpl->tpl_vars['ks_medis']->value,'options'=>$_smarty_tpl->tpl_vars['medikamente']->value,'separator'=>'<br />'),$_smarty_tpl);?>

	</p>
	<p>
		<label id="graduierung">Graduierung</label><br> <?php echo smarty_function_html_radios(array('name'=>'graduierung','selected'=>$_smarty_tpl->tpl_vars['ks_grad']->value,'options'=>$_smarty_tpl->tpl_vars['grad']->value,'separator'=>'<br />'),$_smarty_tpl);?>

	</p>
	<p>
		<label id="graduierung">Zusätzliche Informationen</label><br>
		<textarea name="info"><?php echo $_smarty_tpl->tpl_vars['ks_info']->value;?>
</textarea>
	</p>
	<p>Letzte Änderung: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ks_lastchange']->value,'%d.%m.%Y');?>
</p>
	<input type="submit">
</form>
<?php }?>
<?php }} ?>
